Skip to content

feat(viz): publication-growth and co-occurrence network plotters#3

Open
javiercuervo wants to merge 1 commit into
mainfrom
feat/viz-growth-network
Open

feat(viz): publication-growth and co-occurrence network plotters#3
javiercuervo wants to merge 1 commit into
mainfrom
feat/viz-growth-network

Conversation

@javiercuervo

Copy link
Copy Markdown
Contributor

Adds two review-agnostic visualization helpers the toolkit was missing, both decoupled from any specific corpus:

  • viz.publication_growth — publication-year distribution bar chart from a {year: count} mapping or an iterable of years; optional growth-phase shading + peak annotation.
  • viz.cooccurrence_network — publication-quality renderer for keyword/author/country networks; Louvain-partition colouring, weighted-degree node sizing, top-N labelling, graceful spring-layout fallback when SciPy is unavailable.

Includes smoke tests (tests/test_viz.py, passing with and without SciPy), a CHANGELOG, and a bump to 0.2.0. No new hard dependencies. No manuscript text or review-specific data — only generic plotting code.

Two review-agnostic visualization helpers the toolkit was missing:

- viz.publication_growth: year distribution bar chart from a {year: count}
  mapping or an iterable of years, with optional growth-phase shading and
  peak annotation.
- viz.cooccurrence_network: publication-quality renderer for keyword/author/
  country networks, with Louvain-partition colouring, weighted-degree node
  sizing, top-N labelling, and a spring-layout fallback when SciPy is absent.

Adds smoke tests, a CHANGELOG, and bumps the package to 0.2.0. No new hard
dependencies (adjustText/scipy are optional with graceful fallbacks).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant